package com.chat.websocket.service;

import com.chat.websocket.entity.dto.SearchUserDTO;
import com.chat.websocket.entity.vo.LoginVO;
import com.chat.websocket.entity.vo.SearchUserVO;
import com.chat.websocket.entity.vo.UserVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * SunJingxuan
 * 2022 \ 07 \ 29
 */

public interface UserService {
	UserVO passwordLogin(LoginVO loginVO);

	UserVO verifyCodeLogin(LoginVO loginVO);

	List<SearchUserVO> searchUser(SearchUserDTO searchUserDTO);

	UserVO userInfo(Integer userId);

	String uploadUserHeadImg(MultipartFile img, Integer userId);
}
